finding the value of unknown angles